Java Servlets versus CGI
نویسندگان
چکیده
The Common Gateway Interface (CGI) was the first attempt to enable the creation of dynamic HTML pages which represent a very suitable concept to meet the requirements of web-based applications for remote data analysis (RDA). CGI scripts are still popular, but by now there are new approaches which should be able to solve the main CGI problems. In this paper, we present the most promising one: Java Servlets. We will discuss the advantages and drawbacks of Java Servlets compared to CGI scripts. Moreover, we will do some performance measurements on the basis of simple classification problems and introduce the key functions of the Java Servlet API.
منابع مشابه
Corresponding Author: T. Andrew Yang Performance Comparison of Database Access over the Internet- Java Servlets vs CGI
Our recent work on database access using Java servlets (see Yang and Kim 1999) focused on the performance metering of sequential versus concurrent connection schemes between the web server and the database server. In this paper, we plan to extend the work by comparing the performance of database access between servlets and CGI scripts in the Internet environment. To guarantee a fair comparison,...
متن کاملPerformance Analysis of Dynamic Web Page Generation Technologies Performance Analysis of Dynamic Web Page Generation Technologies
The Web has experienced phenomenal growth over the past few years, placing heavy load on Web servers. Today's Web servers also process an increasing number of requests for dynamic pages, making server load even more critical. The performance of Web servers delivering static pages is well-studied and well-understood. However, there has been little analytic or no empirical study of the performanc...
متن کاملSUGI 28: Java Servlets and Java Server Pages for SAS(r) Programmers: An Introduction
AppDev Studio 2.0 provides a drag-and-drop interface to produce Java-based thin-client applications using Servlet technology, as well as support for Java Server Pages (JSPs). Those of you who have created Java Servlets using the drag and drop methods may be somewhat mystified by the Java code generated. What is an import statement, and what is the function of those curly braces? And just how do...
متن کاملEfficiency of Web Based SAX XML Distributed Processing
Given the interest and need for Web processing and programming of distributed systems, researchers are exploring methods and techniques for facilitating programming of such systems. In this paper we explore the performance characteristics of XML processing using SAX for scripting languages PERL and PHP as compared to C (CGI) and Java (Servlets). We use SAX to process XML files via a Web based i...
متن کاملPerformance Comparison of Alternative Solutions For Web-To-Database Applications
Abstract. Currently, there are many approaches on developing web-to-database projects. These approaches operate in a very similar way on handling database operations, but result in different performance. In this paper, three alternative approaches (CGI, Java Servlets and PHP) were applied on a same project to investigate their performance difference. Benchmark results will be provided for compa...
متن کامل